/*jslint node:true*/
'use strict';
var express = require('express');
var app = express();

app.use(express.static('public'));

app.get('/', function (req, res) {
    res.send('Hello World');
});

var server = app.listen(8888, function () {
    var host = server.address().address,
        port = server.address().port;
    console.log('应用实例，访问地址为 http://%s:%s', host, port);
});